package com.unionx.unionxuf.entity;

import java.io.Serializable;
import java.util.Map;

public class ComBill2 implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	
	
	
	 	private Integer id;
	 	private String cropid;	
	    private String lsh;
	    private String date;
	    private String date2;	   
	    private String shoushudoc;
	    private String peitai;
	    private String feishoushu;
	    private String cusname;
	    private String xczx;
	    private String webzx;
	    private String phonezx;
	    private String scb;
	    private String menzhen;
	    private String qita;
	    private String membername;
	    private String xfdl;
	    private String xmfl;
	    private String xfmx;
	    private String jfje;
	    private String zhekopulv;
	    private String youhuijine;
	    private String cash;
	    private String shuaka;
	    private String zhipiao;
	    private String dianhui;
	    private String qiankuan;
	    private String huaka;
	    private String yajintrans;
	    private String sitea;
	    private String siteb;
	    private String fuka;
	    private String otherpay;
	    private String otherrecive;
	    private String yuyuedate;
	    private String bankadate;
	    private String fapiaohao;
	    private String beizhu;
	    private String chukudan;
	    private String shoukuanren;
	    private String beiyong;
	    private String sjje;
	    private String yscrop;
	    private String yfcrop;
	    private String beiyong1;
	    private String beiyong2;
	    private String yimei;
	    private String dongfang;
	    private String ailibang;
	    private String gengmei;
	    private String xinyang;
	    private String yuemei;
	    private String zhenyoumei;
	    private String fssbz;
	    private String mingxi;
	    private String stbeizhu;
	    private String jiesuanbz;
	
	    private String size;
	    private String index;
	
	private int pagenum=1;
	private int pagesize=30;
	private int totalnum;
	private int totalpage;
	private int startpos;
	private boolean haslast;//是否有上一个
	private boolean hasnext;
	private Map<String,String> params; //查询参数的容器 
	
	
	
	
	
	public int getPagenum() {
		return pagenum;
	}
	public void setPagenum(int pagenum) {
		this.pagenum = pagenum;
	}
	public int getPagesize() {
		return pagesize;
	}
	public void setPagesize(int pagesize) {
		this.pagesize = pagesize;
	}
	public int getTotalnum() {
		return totalnum;
	}
	public void setTotalnum(int totalnum) {
		this.totalnum = totalnum;
	}
	public int getTotalpage() {
		if(totalnum%pagesize==0){
			return totalnum/pagesize;
		}else{
			return totalnum/pagesize+1;
		}
	}
	public void setTotalpage(int totalpage) {
		this.totalpage = totalpage;
	}
	public int getStartpos() {
		return (pagenum-1)*pagesize;
	}
	public void setStartpos(int startpos) {
		this.startpos = startpos;
	}
	public boolean isHaslast() {
		return pagenum>1;
	}
	public void setHaslast(boolean haslast) {
		this.haslast = haslast;
	}
	public boolean isHasnext() {
		return pagenum<totalpage;
	}
	public void setHasnext(boolean hasnext) {
		this.hasnext = hasnext;
	}
	public Map<String, String> getParams() {
		return params;
	}
	public void setParams(Map<String, String> params) {
		this.params = params;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCropid() {
		return cropid;
	}
	public void setCropid(String cropid) {
		this.cropid = cropid;
	}
	public String getLsh() {
		return lsh;
	}
	public void setLsh(String lsh) {
		this.lsh = lsh;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getShoushudoc() {
		return shoushudoc;
	}
	public void setShoushudoc(String shoushudoc) {
		this.shoushudoc = shoushudoc;
	}
	public String getPeitai() {
		return peitai;
	}
	public void setPeitai(String peitai) {
		this.peitai = peitai;
	}
	public String getFeishoushu() {
		return feishoushu;
	}
	public void setFeishoushu(String feishoushu) {
		this.feishoushu = feishoushu;
	}
	public String getCusname() {
		return cusname;
	}
	public void setCusname(String cusname) {
		this.cusname = cusname;
	}
	public String getXczx() {
		return xczx;
	}
	public void setXczx(String xczx) {
		this.xczx = xczx;
	}
	public String getWebzx() {
		return webzx;
	}
	public void setWebzx(String webzx) {
		this.webzx = webzx;
	}
	public String getPhonezx() {
		return phonezx;
	}
	public void setPhonezx(String phonezx) {
		this.phonezx = phonezx;
	}
	public String getScb() {
		return scb;
	}
	public void setScb(String scb) {
		this.scb = scb;
	}
	public String getMenzhen() {
		return menzhen;
	}
	public void setMenzhen(String menzhen) {
		this.menzhen = menzhen;
	}
	public String getQita() {
		return qita;
	}
	public void setQita(String qita) {
		this.qita = qita;
	}
	public String getMembername() {
		return membername;
	}
	public void setMembername(String membername) {
		this.membername = membername;
	}
	public String getXfdl() {
		return xfdl;
	}
	public void setXfdl(String xfdl) {
		this.xfdl = xfdl;
	}
	public String getXmfl() {
		return xmfl;
	}
	public void setXmfl(String xmfl) {
		this.xmfl = xmfl;
	}
	public String getXfmx() {
		return xfmx;
	}
	public void setXfmx(String xfmx) {
		this.xfmx = xfmx;
	}
	public String getJfje() {
		return jfje;
	}
	public void setJfje(String jfje) {
		this.jfje = jfje;
	}
	public String getZhekopulv() {
		return zhekopulv;
	}
	public void setZhekopulv(String zhekopulv) {
		this.zhekopulv = zhekopulv;
	}
	public String getYouhuijine() {
		return youhuijine;
	}
	public void setYouhuijine(String youhuijine) {
		this.youhuijine = youhuijine;
	}
	public String getCash() {
		return cash;
	}
	public void setCash(String cash) {
		this.cash = cash;
	}
	public String getShuaka() {
		return shuaka;
	}
	public void setShuaka(String shuaka) {
		this.shuaka = shuaka;
	}
	public String getZhipiao() {
		return zhipiao;
	}
	public void setZhipiao(String zhipiao) {
		this.zhipiao = zhipiao;
	}
	public String getDianhui() {
		return dianhui;
	}
	public void setDianhui(String dianhui) {
		this.dianhui = dianhui;
	}
	public String getQiankuan() {
		return qiankuan;
	}
	public void setQiankuan(String qiankuan) {
		this.qiankuan = qiankuan;
	}
	public String getHuaka() {
		return huaka;
	}
	public void setHuaka(String huaka) {
		this.huaka = huaka;
	}
	public String getYajintrans() {
		return yajintrans;
	}
	public void setYajintrans(String yajintrans) {
		this.yajintrans = yajintrans;
	}
	public String getSitea() {
		return sitea;
	}
	public void setSitea(String sitea) {
		this.sitea = sitea;
	}
	public String getSiteb() {
		return siteb;
	}
	public void setSiteb(String siteb) {
		this.siteb = siteb;
	}
	public String getFuka() {
		return fuka;
	}
	public void setFuka(String fuka) {
		this.fuka = fuka;
	}
	public String getOtherpay() {
		return otherpay;
	}
	public void setOtherpay(String otherpay) {
		this.otherpay = otherpay;
	}
	public String getOtherrecive() {
		return otherrecive;
	}
	public void setOtherrecive(String otherrecive) {
		this.otherrecive = otherrecive;
	}
	public String getYuyuedate() {
		return yuyuedate;
	}
	public void setYuyuedate(String yuyuedate) {
		this.yuyuedate = yuyuedate;
	}
	public String getBankadate() {
		return bankadate;
	}
	public void setBankadate(String bankadate) {
		this.bankadate = bankadate;
	}
	public String getFapiaohao() {
		return fapiaohao;
	}
	public void setFapiaohao(String fapiaohao) {
		this.fapiaohao = fapiaohao;
	}
	public String getBeizhu() {
		return beizhu;
	}
	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}
	public String getChukudan() {
		return chukudan;
	}
	public void setChukudan(String chukudan) {
		this.chukudan = chukudan;
	}
	public String getShoukuanren() {
		return shoukuanren;
	}
	public void setShoukuanren(String shoukuanren) {
		this.shoukuanren = shoukuanren;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public String getIndex() {
		return index;
	}
	public void setIndex(String index) {
		this.index = index;
	}
	public String getBeiyong() {
		return beiyong;
	}
	public void setBeiyong(String beiyong) {
		this.beiyong = beiyong;
	}
	
	public String getDate2() {
		return date2;
	}
	public void setDate2(String date2) {
		this.date2 = date2;
	}
	
	
	public String getSjje() {
		return sjje;
	}
	public void setSjje(String sjje) {
		this.sjje = sjje;
	}
	public String getYscrop() {
		return yscrop;
	}
	public void setYscrop(String yscrop) {
		this.yscrop = yscrop;
	}
	public String getYfcrop() {
		return yfcrop;
	}
	public void setYfcrop(String yfcrop) {
		this.yfcrop = yfcrop;
	}
	public String getBeiyong1() {
		return beiyong1;
	}
	public void setBeiyong1(String beiyong1) {
		this.beiyong1 = beiyong1;
	}
	public String getBeiyong2() {
		return beiyong2;
	}
	public void setBeiyong2(String beiyong2) {
		this.beiyong2 = beiyong2;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	public String getYimei() {
		return yimei;
	}
	public void setYimei(String yimei) {
		this.yimei = yimei;
	}
	public String getDongfang() {
		return dongfang;
	}
	public void setDongfang(String dongfang) {
		this.dongfang = dongfang;
	}
	public String getAilibang() {
		return ailibang;
	}
	public void setAilibang(String ailibang) {
		this.ailibang = ailibang;
	}
	public String getGengmei() {
		return gengmei;
	}
	public void setGengmei(String gengmei) {
		this.gengmei = gengmei;
	}
	public String getXinyang() {
		return xinyang;
	}
	public void setXinyang(String xinyang) {
		this.xinyang = xinyang;
	}
	public String getYuemei() {
		return yuemei;
	}
	public void setYuemei(String yuemei) {
		this.yuemei = yuemei;
	}
	public String getZhenyoumei() {
		return zhenyoumei;
	}
	public void setZhenyoumei(String zhenyoumei) {
		this.zhenyoumei = zhenyoumei;
	}
	public String getFssbz() {
		return fssbz;
	}
	public void setFssbz(String fssbz) {
		this.fssbz = fssbz;
	}
	
	public String getMingxi() {
		return mingxi;
	}
	public void setMingxi(String mingxi) {
		this.mingxi = mingxi;
	}
	public String getStbeizhu() {
		return stbeizhu;
	}
	public void setStbeizhu(String stbeizhu) {
		this.stbeizhu = stbeizhu;
	}
	
	
	public String getJiesuanbz() {
		return jiesuanbz;
	}
	public void setJiesuanbz(String jiesuanbz) {
		this.jiesuanbz = jiesuanbz;
	}
	@Override
	public String toString() {
		return "ComBill2 [id=" + id + ", cropid=" + cropid + ", lsh=" + lsh + ", date=" + date + ", shoushudoc="
				+ shoushudoc + ", peitai=" + peitai + ", feishoushu=" + feishoushu + ", cusname=" + cusname + ", xczx="
				+ xczx + ", webzx=" + webzx + ", phonezx=" + phonezx + ", scb=" + scb + ", menzhen=" + menzhen
				+ ", qita=" + qita + ", membername=" + membername + ", xfdl=" + xfdl + ", xmfl=" + xmfl + ", xfmx="
				+ xfmx + ", jfje=" + jfje + ", zhekopulv=" + zhekopulv + ", youhuijine=" + youhuijine + ", cash=" + cash
				+ ", shuaka=" + shuaka + ", zhipiao=" + zhipiao + ", dianhui=" + dianhui + ", qiankuan=" + qiankuan
				+ ", huaka=" + huaka + ", yajintrans=" + yajintrans + ", sitea=" + sitea + ", siteb=" + siteb
				+ ", fuka=" + fuka + ", otherpay=" + otherpay + ", otherrecive=" + otherrecive + ", yuyuedate="
				+ yuyuedate + ", bankadate=" + bankadate + ", fapiaohao=" + fapiaohao + ", beizhu=" + beizhu
				+ ", chukudan=" + chukudan + ", shoukuanren=" + shoukuanren + ", size=" + size + ", index=" + index
				+ ", beiyong=" + beiyong + ", pagenum=" + pagenum + ", pagesize=" + pagesize + ", totalnum=" + totalnum
				+ ", totalpage=" + totalpage + ", startpos=" + startpos + ", haslast=" + haslast + ", hasnext="
				+ hasnext + ", params=" + params + "]";
	}
	
	
}

